/*
spell datum contains the info for the spell and the proc to activate it.
Need one of these for each spell
Divided into levels 1-4
5 - secret spells made by us.

*/
spell
	var
		mob/pc/owner
	New(m as mob)
		if (istype(m,/mob/pc))
			src.owner = m
			..()
		else
			admin << "Bad spell creation"
			del src

	proc
		activate()
			..()


	first
		CureLightWounds
			activate()
				HealMinor (owner)
		PhaseDoor
			activate()
				PhaseDoor(owner)


	second
		NeutralizePoison
			activate()
				Neutralize(owner)
		Levitation
			activate()
				owner.floating=1
				owner << "You float into the air."
				sleep(300)
				owner << "You land back on the ground gracefully."
				owner.floating=0

	third
		CureSeriousWounds
			activate()
				HealMinor (owner)

	fourth

	fifth



/*
CureLightWounds, 		1, 1, -1, scHealing, 	50, 		X
DetectObjects, 		1, 1, -1, scDivination, 300,
Light,			1, 1, -1, scMisc,		50,
MagicMissile, 		1, 1, -1, scAttack, 	50,
PhaseDoor, 			1, 1, -1, scMovement,	50,		X
Shield, 			1, 1, -1, scDefense, 	50,
Clairvoyance, 		2, 3, -1, scDivination, 300,
ColdBolt, 			2, 2, -1, scAttack, 	50,
DetectMonsters, 		2, 2, -1, scDivination, 300,
DetectTraps, 		2, 2, -1, scDivination, 300,
Identify, 			2, 2, -1, scDivination, 600,
Levitation, 		2, 2, -1, scMovement, 	50,
NeutralizePoison, 	2, 3, -1, scHealing, 	50, 		X
ColdBall, 			3, 4, -1, scAttack, 	50,
CureSeriousWounds,	3, 3, -1, scHealing, 	50, 		X
FireBolt, 			3, 3, -1, scAttack, 	50,
LightningBolt, 		3, 3, -1, scAttack, 	50,
RemoveCurse,		3, 3, -1, scMisc,		600,
RFlame,			3, 3, -1, scDefense, 	50,
RCold,			3, 3, -1, scDefense, 	50,
RLightning,			3, 3, -1, scDefense, 	50,
RAcid,			3, 3, -2, scDefense, 	50,
RFear,			3, 3, -2, scDefense, 	50,
SleepMonster,		3, 4, -1, scAttack, 	50,
SlowMonster, 		3, 4, -1, scAttack, 	50,
Teleport, 			3, 3, -1, scMovement, 	50,
WordOfRecall, 		3, 3, -1, scMovement, 	50,
CureCriticalWounds,	4, 5, -1, scHealing, 	50,
FireBall, 			4, 5, -1, scAttack, 	50,
LightningBall, 		4, 4, -1, scAttack, 	50,
Healing,			5, 6, -1, scHealing, 	50,		X
TransmogrifyMonster,	5, 6, -1, scAttack, 	50,
*/